package com.wmx.hb;

import org.junit.Test;

/**
 * @author wangMaoXiong
 * @version 1.0
 * @date 2021/7/7 16:37
 */
public class Wang {

    @Test
    public void test() {
        String keyword = "['|exec|execute|insert|select|delete|update|count|drop|%|truncate|declare|sitename|xp_cmdshell|like|create|table|from|grant|use|group_concat|column_name|information_schema.columns|table_schema|union |where |order|by|*]";

        String s = "shjandwhere 'dsds'23 Select";
        String s1 = s.replaceAll(keyword, "");
        System.out.println(s1);

        System.out.println(Integer.MAX_VALUE);
        System.out.println(Long.MAX_VALUE);

        s(s);
        System.out.println(s);
    }

    private void s(String s) {
        s = "aaa";
    }

}
